package com.job.yangshida.homework0707.lizi0707.oop1;

/**
 * @author 杨士达
 * @version 1.0
 * @since 2022-07-08 18:40:15
 */
public class TestTeacher {
    public static void main(String[] args) {
        System.out.println(Teacher.num);
        Teacher t1=new Teacher();
        System.out.println(t1.name);
        Teacher t2=new Teacher("老王");
        System.out.println(t2.name);
    }
}
